package com.zch.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zch.dao.model.Policy;
import com.zch.dao.model.PolicyExample;

public interface PolicyMapper {
	int countByExample(PolicyExample example);

	int deleteByExample(PolicyExample example);

	int deleteByPrimaryKey(String id);

	int insert(Policy record);

	int insertSelective(Policy record);

	List<Policy> selectByExample(PolicyExample example);

	Policy selectByPrimaryKey(String id);

	int updateByExampleSelective(@Param("record") Policy record,@Param("example") PolicyExample example);

	int updateByExample(@Param("record") Policy record,@Param("example") PolicyExample example);

	int updateByPrimaryKeySelective(Policy record);

	int updateByPrimaryKey(Policy record);

}
